package com.ruoyi.teach.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程任务[作业和考试]对象 sch_course_task
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public class SchCourseTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务ID */
    private Long tId;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String name;

    /** 任务题目 */
    @Excel(name = "任务题目")
    private String questions;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void settId(Long tId) 
    {
        this.tId = tId;
    }

    public Long gettId() 
    {
        return tId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setQuestions(String questions) 
    {
        this.questions = questions;
    }

    public String getQuestions() 
    {
        return questions;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tId", gettId())
            .append("name", getName())
            .append("questions", getQuestions())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
